import {getRequest, postRequest} from "@/api/axios";

export const doGetDictionarys = (pageNum,pageSize)=>getRequest('dictionary/getDictionarys',{pageNum,pageSize});

export const doGetAddDic = ()=>getRequest('dictionary/getValidDic',{});

export const doGetUseDic = (studentId)=>getRequest('dictionary/getUseDic',{studentId});

export const doAddDic = (dic)=>postRequest('dictionary/addDic',dic);

export const doDeleteDic = (id)=>getRequest('dictionary/delDic',{id})
